|
SET OBJECT TO OBJECT ORIENTATION
This command will set the specified 3D object to point in the same direction as another 3D object.
SET OBJECT TO OBJECT ORIENTATION Object Number, Second Object, Flag
SET OBJECT TO OBJECT ORIENTATION Object Number, Second Object
Object Number
Integer
The object number
Second Object
Integer
The second object number that the command will copy direction data from
Flag
Integer
When this pivot flag is set to one, the pivot of the source object is also accounted for
This command does not return a value.
The object numbers must be specified using integer values.
make object box 1,2,3,10
rotate object 1,11,22,33
position object 1,-10,0,0
fix object pivot 1
zrotate object 1,90
make object box 2,2,3,10
move camera -50
sleep 1000
SET OBJECT TO OBJECT ORIENTATION 2,1,1
wait key
BASIC3D Commands Menu
Index
|